<?php

namespace platform\controllers;

use platform\core\BaseController;
use platform\interfaces\CircuitInterface;
use cm;
use platform\models\CircuitModel;

class CircuitController extends BaseController implements CircuitInterface
{
    function actionIndex()
    {
        $data = (new CircuitModel())->actionIndex();
        Cm::$cache->clear();
        return Cm::$res->render($this, "index", $data, '线路管理');
    }
}